package com.peking.donations.dao;

import com.peking.donations.model.DonationUser;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by wyz on 16/4/27.
 */
@Repository
public interface DonationUserDao extends CrudRepository<DonationUser, Integer> {

    DonationUser findByWeixinOpenId(String weixinOpenId);

}
